# -*- coding: utf-8 -*-
from django.conf.urls.defaults import *
from apodeiksi.apodeiksiapp import models
urlpatterns = patterns('apodeiksi.apodeiksiapp.views',
    (r'^$', 'main'),
    (r'^edit/(?P<key>[^\.^/]+)/$', 'main'),
    (r'^csv/$', 'csvTest'),    
    )
urlpatterns += patterns('django.views.generic.simple',
    (r'^xd_receiver\.htm$', 'direct_to_template', {'template': 'xd_receiver.htm'}),
    )
##	(r'^test/$', 'test'),
##    (r'^events/$', 'events'),
##    (r'^events/(?P<filter_tag>[^\.^/]+)/$', 'events'),
##    (r'^events/(?P<organization>[^\.^/]+)/(?P<event>[^\.^/]+)/$', 'event_details'),
##    (r'^events/(?P<organization>[^\.^/]+)/(?P<event>[^\.^/]+)/participate/$', 'event_participate'),
##    (r'^create-event/$', 'create_event'),
##    (r'^create-event/now/$', 'create_event_now'),
##    (r'^create-event/now/(?P<num>[\d]*)/$', 'create_event_num'),
##    (r'^create-organization/$', 'create_organization'),
##    (r'^create-translation/$', 'create_translation'),
##    (r'^edit-event/(?P<event>[^\.^/]+)/$', 'edit_event'),
##    (r'^edit-event/(?P<event>[^\.^/]+)/(?P<add>[^\.^/]+)/$', 'edit_event'),
##    (r'^thanks/$', 'thanks'),
##    (r'^events/(?P<organization>[^\.^/]+)/$', 'events'),
##    (r'^embed/events/(?P<organization>[^\.^/]+)/(?P<event>[^\.^/]+)/$', 'events_emebedded'),
##    (r'^admin/$', 'admin'),
##    (r'^admin/deleteALL/$', 'deleteALL'),
##    (r'^xml/translation/$', 'xml_translation'),
##	(r'^users/(?P<user>[^\.^/]+)/$', 'user'),


